package com.mars.app.wetchat;

import com.mars.app.base.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by pengshuo on 2018/1/10 23:06
 * Description: 微信 数据水印
 * Modified By:
 * Version:
 *
 * @author pengshuo
 */
@Data
@NoArgsConstructor
public class WaterMark extends BaseEntity{

    /** 敏感数据归属appid，开发者可校验此参数与自身appid是否一致 */
    private String appid;

    /** 敏感数据获取的时间戳, 开发者可以用于数据时效性校验 */
    private long timestamp;

    public WaterMark(String appid, long timestamp) {
        this.appid = appid;
        this.timestamp = timestamp;
    }
}
